<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <title>Document</title>
        <script src="../js/vue2-dev.js"></script>
    </head>
    <body>
        <div id="root1">
            <h1>{{ name }}</h1>
        </div>

        <div id="root2">
            <h1>{{ name }}</h1>
        </div>
        <script>
            const vm1 = new Vue({
                el: "#root1",
                data: {
                    name: "xuhu",
                },
            });
            const vm2 = new Vue({
                el: "#root2",
                data: {
                    name: "xuyawen",
                },
            });
        </script>
    </body>
</html>
